					<?php echo form_open_multipart('admin/sanpham/xulythem', array('id'=>'form'));?>
                    
                      <table width="80%" border="0">                     
                        <legend>THÔNG TIN SẢN PHẨM</legend>
                      
                      <tr>
                        <td width="13%"><label for="lastname">Tên sản phẩm : </label></td>
                        <td width="87%"><input name="tensp" id="tensp" type="text" tabindex="1" /></td>
                      </tr>
                      <tr>
                        <td><label for="lastname">Giá : </label></td>
                         <td><input name="gia" id="gia" type="text" tabindex="2" /></td>
                      </tr>
                      <tr>
                         <td><label for="lastname">Số luợng : </label> </td>
                         <td><input name="soluong" id="soluong" type="text" tabindex="3" /></td>
                      </tr>
                      <tr>
                         <td><label for="lastname">Hình ảnh : </label> </td>
                        <td><input name="hinh" id="hinh" type="file" tabindex="4" /></td>                      
                      </tr>
                      <tr>
                         <td><label for="lastname">Mô tả : </label></td> 
                         <td><textarea name="mota" tabindex="5" cols="10" rows="5"></textarea></td>
                      </tr>
                      <tr>
                         <td><label for="lastname">Hiển thị : </label></td> 
                         <td><input name="hienthi" id="hienthi" type="checkbox" tabindex="2" value="true" checked="checked" /></td>
                      </tr>
                      <tr>
                         <td><label for="lastname">Danh mục : </label></td> 
                         <td><select name="madm"><?php 
												foreach ($dsdm as $dm)
												echo '<option value="'.$dm->madm.'">'.$dm->tendm.'</option>';
											?>
                      	</select></td>
                        </tr>
                        </table>
                      
                      
                      
                      <div align="center">
                      <input id="button1" type="submit" value="Save" /> 
                      <input id="button2" type="reset" />
                      </div>
                    </form>